package com.icloud.system.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色分配权限对象
 */
@Data
@ApiModel(value = "角色分配权限对象")
public class AdminRoleAllocPermissionDto {

    @NotNull(message = ValidateConstant.NOT_NULL)
    @ApiModelProperty(value = "权限ids")
    private List<Long> permissionIds;
}
